<template>
	<div class="siz">
		<ul class="shang">
			<li v-for="item in list" :key="item.id" :style="{backgroundImage:'url('+item.imgURL+')',backgroundSize:'100% 100%'}">
				<router-link to="/" style="position: relative;">
					{{item.name}}<br/>
					<span class="sss" v-if="item.id==1">个性独创</span>
				</router-link>
				
			</li>
		</ul>
	</div>
</template>

<script>
//
export default{
	name:'Siz',
	props:['propssiz'],
	data(){
		return{
			list:[
				{ id:1,imgURL:'imgcon/siz1.png',name:'主题游' },
				{ id:2,imgURL:'imgcon/siz2.png',name:'亲子游' },
				{ id:3,imgURL:'imgcon/siz3.png',name:'摄影游' },
				{ id:4,imgURL:'imgcon/siz4.png',name:'户外游' },
				{ id:5,imgURL:'imgcon/siz5.png',name:'活动赛事' },
				{ id:6,imgURL:'imgcon/siz6.png',name:'瑜伽行' },
				{ id:7,imgURL:'imgcon/siz7.png',name:'野奢邦' },
				{ id:8,imgURL:'imgcon/siz8.png',name:'定制游' },
				{ id:9,imgURL:'imgcon/siz9.png',name:'签证' },
				{ id:10,imgURL:'imgcon/siz10.png',name:'邮轮' },
				{ id:11,imgURL:'imgcon/siz11.png',name:'美宿度假' },
			]
		}
	},

}
</script>

<style scoped>
a{
	text-decoration: none;
	color: black;
}
.siz{
	padding: 0.3rem 0;
}
.siz .shang{
	text-align: center;
	height: 3.7rem;
	width: 95%;
	margin: 0 auto;
}
.siz .shang li{
	line-height: 1.25rem;
	width: 25%;
	float: left;
	height: 1.25rem;
	font-weight: bold;
	font-size: 0.38rem;
}
.siz .shang li{
	background: no-repeat;
}
.siz .shang li:nth-child(1){
	height: 2.5rem;
	line-height: 2rem;
	border-top-left-radius: 0.2rem;
	position: relative;
}
.siz .shang li:nth-child(4){
	border-top-right-radius: 0.2rem;
}
.siz .shang li:nth-child(8){
	border-bottom-left-radius: 0.2rem;
}
.siz .shang li:nth-child(11){
	border-bottom-right-radius: 0.2rem;
}
.sss{
	position: absolute;
	bottom: -0.5rem;
	width: 1.4rem;
	left: -0.1rem;
	font-size: 0.2rem;
	line-height: 0.4rem;
	border-radius: 0.5rem;
	background: #ffd800;
}
</style>
